package com.xxh.message.config;

/***
 * 自定义配置类
 */

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "ws.server")
@Data
public class wsConfig {

    //主机
    String host;

    //端口
    int port;
}
